//
//  SessionItem.h
//  ChangChat
//
//  Created by Cocoa on 2019/9/4.
//  Copyright © 2019 yibai. All rights reserved.
//

#import "YBBaseItem.h"
#import "MsgItem.h"

NS_ASSUME_NONNULL_BEGIN

@interface SessionItem : YBBaseItem

@property (nonatomic, copy) NSString *group_id;
@property (nonatomic, copy) NSString *create_id;
@property (nonatomic, assign) NSInteger last_msg_id;
@property (nonatomic, copy) NSString *last_msg_time;
@property (nonatomic, copy) NSString *groupName;
@property (nonatomic, copy) NSString *groupIcon;
@property (nonatomic, assign) BOOL isGroupChat;

@property (nonatomic, assign) NSInteger unread_msg_count;


- (BOOL)isSingleFriendChat;

@end

NS_ASSUME_NONNULL_END
